package com.autohome.wz.business.order.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class WzGasstationLeaderBorad implements Serializable {
    private Integer id;

    private Integer districtid;

    private String districtname;

    private String stationid;

    private String stationname;

    private Integer stationsort;

    private String subtype;

    private Integer type;

    private BigDecimal avgweekprice;

    private String leaderboardname;

    private Date createdStime;

    private Date modifiedStime;

    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDistrictid() {
        return districtid;
    }

    public void setDistrictid(Integer districtid) {
        this.districtid = districtid;
    }

    public String getDistrictname() {
        return districtname;
    }

    public void setDistrictname(String districtname) {
        this.districtname = districtname == null ? null : districtname.trim();
    }

    public String getStationid() {
        return stationid;
    }

    public void setStationid(String stationid) {
        this.stationid = stationid == null ? null : stationid.trim();
    }

    public String getStationname() {
        return stationname;
    }

    public void setStationname(String stationname) {
        this.stationname = stationname == null ? null : stationname.trim();
    }

    public Integer getStationsort() {
        return stationsort;
    }

    public void setStationsort(Integer stationsort) {
        this.stationsort = stationsort;
    }

    public String getSubtype() {
        return subtype;
    }

    public void setSubtype(String subtype) {
        this.subtype = subtype == null ? null : subtype.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAvgweekprice() {
        return avgweekprice;
    }

    public void setAvgweekprice(BigDecimal avgweekprice) {
        this.avgweekprice = avgweekprice;
    }

    public String getLeaderboardname() {
        return leaderboardname;
    }

    public void setLeaderboardname(String leaderboardname) {
        this.leaderboardname = leaderboardname == null ? null : leaderboardname.trim();
    }

    public Date getCreatedStime() {
        return createdStime;
    }

    public void setCreatedStime(Date createdStime) {
        this.createdStime = createdStime;
    }

    public Date getModifiedStime() {
        return modifiedStime;
    }

    public void setModifiedStime(Date modifiedStime) {
        this.modifiedStime = modifiedStime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WzGasstationLeaderBorad other = (WzGasstationLeaderBorad) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDistrictid() == null ? other.getDistrictid() == null : this.getDistrictid().equals(other.getDistrictid()))
            && (this.getDistrictname() == null ? other.getDistrictname() == null : this.getDistrictname().equals(other.getDistrictname()))
            && (this.getStationid() == null ? other.getStationid() == null : this.getStationid().equals(other.getStationid()))
            && (this.getStationname() == null ? other.getStationname() == null : this.getStationname().equals(other.getStationname()))
            && (this.getStationsort() == null ? other.getStationsort() == null : this.getStationsort().equals(other.getStationsort()))
            && (this.getSubtype() == null ? other.getSubtype() == null : this.getSubtype().equals(other.getSubtype()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getAvgweekprice() == null ? other.getAvgweekprice() == null : this.getAvgweekprice().equals(other.getAvgweekprice()))
            && (this.getLeaderboardname() == null ? other.getLeaderboardname() == null : this.getLeaderboardname().equals(other.getLeaderboardname()))
            && (this.getCreatedStime() == null ? other.getCreatedStime() == null : this.getCreatedStime().equals(other.getCreatedStime()))
            && (this.getModifiedStime() == null ? other.getModifiedStime() == null : this.getModifiedStime().equals(other.getModifiedStime()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDistrictid() == null) ? 0 : getDistrictid().hashCode());
        result = prime * result + ((getDistrictname() == null) ? 0 : getDistrictname().hashCode());
        result = prime * result + ((getStationid() == null) ? 0 : getStationid().hashCode());
        result = prime * result + ((getStationname() == null) ? 0 : getStationname().hashCode());
        result = prime * result + ((getStationsort() == null) ? 0 : getStationsort().hashCode());
        result = prime * result + ((getSubtype() == null) ? 0 : getSubtype().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getAvgweekprice() == null) ? 0 : getAvgweekprice().hashCode());
        result = prime * result + ((getLeaderboardname() == null) ? 0 : getLeaderboardname().hashCode());
        result = prime * result + ((getCreatedStime() == null) ? 0 : getCreatedStime().hashCode());
        result = prime * result + ((getModifiedStime() == null) ? 0 : getModifiedStime().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        return result;
    }
}